class CreateInvitationRequests < ActiveRecord::Migration
  def self.up
    create_table :invitation_requests do |t|
			t.column :open_space_participation, :boolean, :default => 0
			t.column :workshops_attendance, :boolean, :default => 0
			t.column :comment, :string
			t.column :status, :string
			t.column :status_changed_at, :datetime
			t.column :status_reason, :text
			t.column :person_id, :integer
      t.timestamps
    end
  end

  def self.down
    drop_table :invitation_requests
  end
end
